package JLB_Chapter_05;
// StringReplaceFirst
public class code_05_18 {
    public static void main(String[] args) {
        String str = "8I want to marry her,so I need you.";
        String noNumber = str.replaceFirst("\\d","");
        String youToHer = noNumber.replaceFirst("you","her");
        System.out.println("替换之后的结果为：" + youToHer);
    }
}
